*, *:before, *:after {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.inner, .nav-panel ul .nav-btn:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-size: 100px;
}

/*@media (max-width: 767px) {*/
/*body {*/
/*font-size: 70%;*/
/*}*/
/*}*/

.wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: -webkit-transform 1s;
    transition: transform 1s;
    -webkit-perspective: 3000;
    perspective: 3000;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.wrapper .page {
    position: relative;
    width: 100%;
    height: 100%;
    /*-webkit-transform: rotateX(180deg) scale(0.3);*/
    /*transform: rotateX(180deg) scale(0.3);*/
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: -webkit-transform 1s ease-in-out;
    transition: transform 1s ease-in-out;
    will-change: transform;
}

.wrapper .page {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.nav-panel {
    position: fixed;
    top: 50%;
    right: 0.16em;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 1000;
    -webkit-transition: opacity 0.5s, -webkit-transform 0.5s cubic-bezier(0.57, 1.2, 0.68, 2.6);
    transition: opacity 0.5s, transform 0.5s cubic-bezier(0.57, 1.2, 0.68, 2.6);
    will-change: transform, opacity;
}

.nav-panel.invisible {
    opacity: 0;
    -webkit-transform: translateY(-50%) scale(0.5);
    -ms-transform: translateY(-50%) scale(0.5);
    transform: translateY(-50%) scale(0.5);
}

.nav-panel ul {
    list-style-type: none;
}

.nav-panel ul .nav-btn {
    position: relative;
    overflow: hidden;
    width: 0.1em;
    height: 0.1em;
    margin-bottom: 0.1em;
    border: 0.01em solid #fff;
    border-radius: 50%;
    cursor: pointer;
    -webkit-transition: border-color, -webkit-transform 0.3s;
    transition: border-color, transform 0.3s;
    will-change: border-color, transform;
}

.nav-panel ul .nav-btn:after {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%) scale(0.7);
    -ms-transform: translateX(-50%) translateY(-50%) scale(0.7);
    transform: translateX(-50%) translateY(-50%) scale(0.7);
    background-color: #fff;
    opacity: 0;
    -webkit-transition: -webkit-transform, opacity 0.3s;
    transition: transform, opacity 0.3s;
    will-change: transform, opacity;
}

.nav-panel ul .nav-btn.active:after, .nav-panel ul .nav-btn:hover:after {
    -webkit-transform: translateX(-50%) translateY(-50%) scale(0.7);
    -ms-transform: translateX(-50%) translateY(-50%) scale(0.7);
    transform: translateX(-50%) translateY(-50%) scale(0.7);
    opacity: 1;
}

/*.nav-panel ul .nav-btn:hover {*/
/*border-color: yellow;*/
/*-webkit-transform: scale(1.2);*/
/*-ms-transform: scale(1.2);*/
/*transform: scale(1.2);*/
/*}*/

/*.nav-panel ul .nav-btn:hover:after {*/
/*background-color: yellow;*/
/*}*/

.nav-panel .scroll-btn {
    position: absolute;
    left: 0;
    width: 0.1em;
    height: 0.1em;
    border: 0.02em solid #fff;
    border-left: none;
    border-bottom: none;
    cursor: pointer;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transition: border-color 0.3s;
    transition: border-color 0.3s;
}

.nav-panel .scroll-btn.up {
    top: -0.15em;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.nav-panel .scroll-btn.down {
    bottom: -0.06em;
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
}

/*.nav-panel .scroll-btn:hover {*/
/*border-color: yellow;*/
/*}*/

.goods-detail-frame {
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 2000;
    display: none;
}

.goods-detail-frame .goods-detail-mask {
    background-color: black;
    opacity: 0.2;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2001;
}

.goods-detail-frame .goods-detail-content {
    width: 2.8em;
    height: 4.6em;
    z-index: 2002;
    position: absolute;
    margin-top: 10%;
    margin-left: 0.2em;
}

.goods-detail-frame .goods-detail-content .btn-close {
    width: 0.72em;
    height: 0.34em;
    background-size: cover;
    float: right;
}

.goods-detail-frame .goods-detail-content .goods-name-text {
    line-height: 0.42em;
    width: 2.6em;
    margin-left: 0.1em;
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.goods-detail-frame .goods-detail-content .content-frame {
    height: 96%;
    width: 96%;
    margin-left: 2%;
    margin-top: 2%;
    font-size: 10px;
}

.goods-detail-frame .goods-detail-content .content-frame img{
    width: 100%;
    vertical-align: bottom;
    display: block;
}

.exchange-dorabi-frame{
    position: fixed;
    bottom: 0%;
    width: 100%;
    height: 0.5em;
    line-height: 0.5em;
    border-top: 1px #cccccc solid;
    background-color: #FFFFFF;
    padding-left: 0.1em;
    display: none;
}

.exchange-dorabi-frame div{
    font-size: 0.14em;
    float: left;
}